package com.ysstech.reportworld.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
 * <p>
 * 基础数据对应模块信息
 * </p>
 *
 * @author lishuangliang
 * @since 2022-12-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("report_world_data_modular")
public class DataModular extends Model<DataModular> {

    private static final long serialVersionUID = 1L;

    @TableId("ID")
    private String id;

    /**
     * 数据编码
     */
    @TableField("DATA_ID")
    private String dataId;

    /**
     * 模块id
     */
    @TableField("MODULAR_ID")
    private String modularId;

    /**
     * 数据编码类型
     */
    @TableField("DATA_CODE")
    private String dataCode;

    /**
     * 读取的文件名称
     */
    @TableField("FILE_NAME")
    private String fileName;

    @TableField("STATUS")
    private Integer status;

    @TableField("ADD_TIME")
    private LocalDateTime addTime;

    @TableField("ADD_USER")
    private String addUser;

    @TableField("EDIT_TIME")
    private LocalDateTime editTime;

    @TableField("EDIT_USER")
    private String editUser;

    @TableField("DELETE_REASON")
    private String deleteReason;

    @Override
    protected Serializable pkVal() {
        return null;
    }
    // 模块名称
    @TableField(exist = false)
    private String modularName;

    @TableField(exist = false)
    private String tableId;
    //表名
    @TableField(exist = false)
    private String tableName;

    //表中文名
    @TableField(exist = false)
    private String chineseName;
    //所在分层
    @TableField(exist = false)
    private String layered;
    //版本号
    @TableField(exist = false)
    private String version;
    //类型
    @TableField(exist = false)
    private String ftype;
    //来源
    @TableField(exist = false)
    private String fsource;
}
